package bean;

import java.sql.Timestamp;

import data.bean.DataBean;
import data.bean.DatabaseEntity;
import data.bean.DatabaseField;

@DatabaseEntity(tableName="Order")
public class Order extends DataBean {

	static {
		REGISTER(Order.class);
	}

	@DatabaseField(name="id", type=Long.class, autoGenerate=true, primaryKey=true)
	private Long id;

	@DatabaseField(name="customerid", type=Long.class)
	private Long customerid;

	@DatabaseField(name="ordertime", type=Timestamp.class)
	private Timestamp ordertime;

	@DatabaseField(name="remarks", type=String.class)
	private String remarks;

	@DatabaseField(name="status", type=String.class)
	private String status;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getCustomerid() {
		return customerid;
	}

	public void setCustomerid(Long customerid) {
		this.customerid = customerid;
	}

	public Timestamp getOrdertime() {
		return ordertime;
	}

	public void setOrdertime(Timestamp ordertime) {
		this.ordertime = ordertime;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
}
